import request from '@/utils/request'

// 查询检验完工单列表
export function listNcInspectionCompletionOrder(query) {
  return request({
    url: '/business/NcInspectionCompletionOrder/list',
    method: 'get',
    params: query
  })
}

// 查询检验完工单详细
export function getNcInspectionCompletionOrder(id) {
  return request({
    url: '/business/NcInspectionCompletionOrder/' + id,
    method: 'get'
  })
}

// 新增检验完工单
export function addNcInspectionCompletionOrder(data) {
  return request({
    url: '/business/NcInspectionCompletionOrder',
    method: 'post',
    data: data
  })
}

// 修改检验完工单
export function updateNcInspectionCompletionOrder(data) {
  return request({
    url: '/business/NcInspectionCompletionOrder',
    method: 'put',
    data: data
  })
}

// 删除检验完工单
export function delNcInspectionCompletionOrder(id) {
  return request({
    url: '/business/NcInspectionCompletionOrder/' + id,
    method: 'delete'
  })
}
